<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8" />
<META HTTP-EQUIV=REFRESH CONTENT="4;URL=main1.jsp">////student.jsp是自动跳转到哪个页面
<meta name="description" content="You And Me" />
<meta name="keywords" content="You And Me" />
<title>You And Me</title>

</head>
<body >

本页面将在<span id=yu>2</span><a href=javascript:countDown></a>秒后自动返回/////2为定时2秒自动跳转
<script>
function countDown(secs){
  yu.innerText=secs;
  if(--secs>0){
       setTimeout("countDown("+secs+")",1000);
    }
  }
 countDown(2);
 </script>
</body>
</html>